-
Notifications
You must be signed in to change notification settings - Fork 911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proto: update the bitstring dep #6607
proto: update the bitstring dep #6607
Conversation
65ccbcf
to
8e6b792
Compare
@@ -1,4 +1,4 @@ | |||
import bitstring # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does bitstring
now come with type annotations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am using it here https://github.com/lnbits/bolt11 and neither mypy, pyright nor ruff are complaining :).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i had type ignores all over the place in bolt11 before i updated to ^4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the bitsting
release notes: Type hints added throughout the code.
for v4.0.1
8e6b792
to
eced836
Compare
This is an alternative version to [1] that update only the necessary information around our codebase to upgrade the bitstring package. This upgrade is necessary for the user of our package that will find conflics in their codebase about packages version. [1] ElementsProject#6585 Co-Developed-by: @dni Chanegelog-None Signed-off-by: Vincenzo Palazzo <[email protected]>
eced836
to
073584e
Compare
Rebased |
ACK 073584e |
Thanks @nepet I forgot about this! |
This is an alternative version to [1] that
update only the necessary information around our codebase to upgrade the bitstring package.
This upgrade is necessary for the user of our package that will find conflics in their codebase about packages version.
[1] #6585